package com.yang.SpringTest.annotation.resourceLean;

import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * <p>ResourceDemoController类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.resourceLean
 * Ceate Time 2024-04-12 16:27
 */
@Controller
public class ResourceDemoController {

    @Resource(name = "resourceDemoServiceB")
    private ResourceDemoService resourceDemoService;

    public void demo () {
        resourceDemoService.demo ();
    }

}

